<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <form action="/user/add" method="post" novalidate>
    <input type="text" name="name" placeholder="请输入你的姓名！！！" required> <br>
    <input type="text" name="tel" placeholder="请输入固定电话！！！" required  pattern="^[\d]{2,4}-[\d]{6,8}$"> <br>
    <button>提交</button>
  </form>
</body>
</html>